package ae.pcfc.etks.online.itworx.ehs.wf.service;

import java.util.List;

import ae.pcfc.etks.online.itworx.ehs.wf.exception.WFException;
import ae.pcfc.etks.online.itworx.ehs.wf.service.types.K2WorklistItem;

public interface WFService {
	
	int createProcess(String processName, List<String> parametersName, List<String> parametersValue) throws WFException;
	boolean isOfficer(String officerName) throws WFException ;
	boolean doAction(String taskSerialNo, String userName, String action, List<String> parameterNames, List<String> parameterValues, boolean isOfficer) throws WFException;
	//String getTaskSerialNumber(int processId,String userName) throws WFException ;
	List<K2WorklistItem> getActiveTasks(String processName, String userName, boolean isOffecier, boolean isAssigned) throws WFException;
	String[] getDelegatedUsers(String userName);
}
